#include <iostream>
#include <string>
#include <algorithm>
using namespace std;


int main()
{
	string s;
	cin >> s;
	string t = s;
	reverse(s.begin(),s.end());
	if(t == s)
	cout << "yes";
	else
	cout << "no";

}
